ActiveAdmin.register Company do
  config.batch_actions = false
  config.per_page = 100
  filter :name, label: '集团名'
  index as: :slate do |resource|
    div class: 'blank_slate', for: resource do
      link_to truncate(resource.name, length: 18), "/admin/companies/#{resource.id}/wallets"
    end
  end
end
